/**
 *  Copyright 2010 ShenYang voole Co. Ltd.
 *  All right reserved. 
 */
package com.dianning.dao;

import java.util.List;

import com.dianning.bean.AdAds;
import com.dianning.bean.AdSpace;
import com.dianning.bean.Admin;
import com.dianning.bean.Area;
import com.dianning.bean.Channel;
import com.dianning.bean.Credit;
import com.dianning.bean.Info;
import com.dianning.bean.Message;
import com.dianning.bean.Money;
import com.dianning.bean.UserDetail;
import com.dianning.bean.Visitor;

/**
 * 功能描述:用户扩展信息操作接口
 *
 * 创建日期 Apr 10, 2010
 *
 * @author zhangbaochao
 *
 * @version 1.0
 *
 */
public interface UserDetailDAO {
	
	/**
	 * 保存UserDetail对象
	 * 
	 * @param userDetail
	 * 			UserDetail对象
	 * @return UserDetail
	 * 			UserDetail对象
	 */
	public UserDetail saveUserDetail(UserDetail userDetail);
	/**
	 * 保存或更新UserDetail对象
	 * 
	 * @param userDetail
	 * 			UserDetail对象
	 * @return UserDetail
	 * 			UserDetail对象
	 */
	public UserDetail saveOrUpdateUserDetail(UserDetail userDetail);
	/**
	 * 保存UserDetail对象
	 * 
	 * @param userDetail
	 * 			UserDetail对象
	 * @return UserDetail
	 * 			UserDetail对象
	 */
	public UserDetail updateUserDetail(UserDetail userDetail);
	
	/**
	 * 根据主键ID获取UserDetail对象
	 * 
	 * @param iid
	 * 			主键ID
	 * @return UserDetail
	 * 			UserDetail对象
	 */
	public UserDetail findUserDetailByUid(long uid);

}
